Weird execution of ruby/git executables in Windows [migrated]
Posted
by
Frexuz
on Programmers
See other posts from Programmers
or by Frexuz
Published on 2011-11-13T15:50:06Z
Indexed on
2011/11/13
18:05 UTC
Read the original article
Hit count: 246
Windows
|command-line
Something strange has happened. I can't run some command line executables in Windows anymore.
Steps:
- Open
cmd
- Run an executable, such as
ruby -v
orgit -h
When I do that, a new command prompt opens, running that command (I think, it's too fast to see), and instantly closes again.
I've managed to print screen the new command prompt, and it shows that it's running inside this path:
C:\Documents and Settings\Administrator\Local Settings\Temp\3582-490
Inside this folder, is the executable I'm tring to run.
If I run ruby
, then ruby.exe is in there.
If I run git
, then git.exe is in there.
And it's always emptying the folder in between, so there is always just one .exe file
© Programmers or respective owner